<!doctype html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/login_bg.css">
    <title>商城管理后台登录</title>

</head>
<style>
    body {
        background-color: #2B2B2B;
    }

    .box {
        width: 360px;
        background-color: #FFF;
        margin: auto;
        height: 360px;
        border-radius: 5px;
        padding: 30px;
        padding-top: 20px;
        padding-bottom: 20px;
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }

    .text {
        position: relative;
        width: calc(100% - 10px);
        height: 40px;
        border: 1px solid #999;
        background-color: #FFF;
        border-radius: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .line {
        margin-bottom: 20px;
    }

    canvas {
        position: absolute;
        top: 0;
        left: 0;
        background-color: black;
        z-index: 0;
    }

    .title {
        display: block;
        margin: 0;
        padding: 0;
        text-align: center;
        margin-top: 10px;
        margin-bottom: 20px;
        font-weight: bold;
        font-size: 20px;
    }

    .btn {
        position: relative;
        display: block;
        margin: 0;
        padding: 0;
        height: 40px;
        line-height: 40px;
        width: 100%;
        border: none;
        background-color: #009900;
        color: #FFF;
    }
</style>
<body>
<canvas id=c></canvas>
<div class="box">
    <form action="" method="post">
        <div class="title">商城管理后台登录</div>
        <div class="line"><input type="text" name="username" placeholder="请输入用户名" class="text"></div>
        <div class="line"><input type="password" name="password" placeholder="请输入密码" class="text"></div>
        <div class="line"><input type="text" name="safecode" placeholder="请输入验证码" class="text"><div><img src="{:captcha_src()}" alt="captcha" onclick="this.src='{:captcha_src()}?'+Math.random()" /></div></div>
        <div class="line"><input type="submit" class="btn" value="登录"></div>
    </form>
</div>
<script src="__STATIC__/admin/js/login_bg.js"></script>
</body>
</html>